# output: 40

s = 0
x = 8
y = 5
while x > 0 do
    yc = y
    while yc > 0 do
        s = s + 1
        yc = yc - 1
    end

    x = x - 1
end

puti(s)
